package myexchange

class Share {

    static constraints = {
		price(min:10,max:250,default:10) 
    }
	
	static hasMany = [players:Exchange]
	
	String name;
	int price = 100;
	
	String toString() { name }
	
}
